<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: zhao
  Date: 2021/12/15
  Time: 13:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="list-group side-bar hidden-xs">
    <c:forEach items="${tags}" var="tag">
        <a href="${pageContext.request.contextPath}/?tag=${tag.id}" class="list-group-item${param.tag eq tag.id ? ' active': ''}">${tag.name}</a>
    </c:forEach>
</div>
